//
//  HLMatchFateCell.m
//  YueYue
//
//  Created by hulu001 on 2023/6/5.
//

#import "HLMatchFateCell.h"
#import "HLMatchFateView.h"

@interface HLMatchFateCell ()

@property (nonatomic, strong) HLMatchFateView *matchView;

@end
@implementation HLMatchFateCell


- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {

        [self setupView];
    }
    return self;
}

- (void)setupView {
    self.backgroundColor = UIColorClear;
    self.matchView = [[HLMatchFateView alloc] init];
    [self.contentView addSubview:_matchView];
    [_matchView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.edges.mas_equalTo(0);
    }];
}

- (void)setModel:(HLFateModel *)model
{
    _model = model;
    _matchView.model = model;
    
}
@end
